package com.weather.vo;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;

import lombok.Data;

/**
 * @Description 城市信息，从 citylist.xml 中获取数据
 *
 * @author 堆堆堆
 * @date 2018年5月31日 下午5:07:26
 */
@Data
@XmlRootElement(name = "d")
@XmlAccessorType(XmlAccessType.FIELD)
public class City {

	@XmlAttribute(name = "d1")
	private String cityId;

	@XmlAttribute(name = "d2")
	private String cityName;

	@XmlAttribute(name = "d3")
	private String cityCode;

	@XmlAttribute(name = "d4")
	private String province;
}
